package com.xz.courseschedule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: zys
 * @CreateTime: 2025-05-24
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Timetable implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String classNo;//班级编号

    private String courseNo;//课程编号

    private String teacherNo;//教师编号

    private String roomNo;//教室编号

    private Integer timeslot;//上课时间

    private Integer startWeek;//开始周

    private Integer endWeek;//结束周

    private Integer biweekly;//单双周

    private Long semesterId;//学期(关联的学期ID)
}
